<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../app/bower_components/bootstrap/dist/css/bootstrap.css">
    <link rel="stylesheet" href="dist/css/bootstrap3/bootstrap-switch.css">
    <style>
        *, html {
            box-sizing: content-box;
        }
    </style>
</head>
<body>
<div class="pull-right">
    abc
    <input type="checkbox" checked>

</div>

<script src="../../app/bower_components/jquery/dist/jquery.js"></script>
<script src="../../app/bower_components/bootstrap/dist/js/bootstrap.js"></script>
<script src="dist/js/bootstrap-switch.js"></script>

<script>
    $("[type='checkbox']").bootstrapSwitch();
</script>
</body>
</html>